package org.glow.changgou.pay.feign;

import org.glow.changgou.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author Glow
 * @Date 2022-10-08 22:14:56
 * @Description
 * @Version 1.0
 */
@FeignClient(name="pay")
@RequestMapping(value = "/weixin/pay")
public interface PayFeign {
    @GetMapping(value = "/status/query")
    public Result queryStatus(String outtradeno);
    @GetMapping(value="/closePay")
    public Result closePay(Long id);
}
